home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / system / porttool.zip / MV.MAN < prev    next >
Text File  |  1992-12-03  |  2KB  |  43 lines

  1.  
  2.    NNAAMMEE
  3.       mv - move files
  4.  
  5.    SSYYNNOOPPSSIISS
  6.       mmvv [ _-_f_h_i ] _f_i_l_e_1 _f_i_l_e_2
  7.       mmvv [ _-_f_h_i ] _f_i_l_e ... _d_i_r_e_c_t_o_r_y
  8.  
  9.       In the first form, if _f_i_l_e_2 already exists, it is removed before
  10.       _f_i_l_e_1 is moved.  If _f_i_l_e_2 has a mode which prohibits writing (refer
  11.       to cchhmmoodd(1)), mmvv announces this fact and waits for standard input.
  12.       If a yy is entered then mmvv continues, otherwise mmvv exits.
  13.  
  14.       In the second form, one or more files are moved to a specified
  15.       directory.  They keep their original file names.
  16.  
  17.    DDEESSCCRRIIPPTTIIOONN
  18.       mmvv moves (renames) files.  This is done either by changing the name
  19.       of the entry, or by copying and deleting.
  20.  
  21.    OOPPTTIIOONNSS
  22.       --ff Overrides any mode restrictions or the --ii switch.
  23.  
  24.       --hh Display a short help message.
  25.  
  26.       --ii Specifies the interactive mode.  When a move will supercede an
  27.          existing file, mmvv  --ii prompts with the name of the file, followed
  28.          by a question mark.  If a line beginning with the letter yy is
  29.          entered, the move proceeds; any other reply prevents the move
  30.          from occurring.  The prompt may also be answered by redirecting
  31.          a file containing the desired answer to the mmvv command, as in
  32.          the following example:
  33.  
  34.             C:> mmvv  --ii  ffiillee11  ffiillee22  <<  ffiillee33
  35.  
  36.          Also, if the --ii option is used within a batch file, the prompt
  37.          may be answered by echo'ing a response into mmvv, as in the
  38.          following example:
  39.  
  40.             C:> eecchhoo  yy  ||  mmvv  --ii  ffiillee11  ffiillee22
  41.  
  42.    CCooppyyrriigghhtt  ((cc))  11999922    FFrraannkk  EE..  WWhhaalleeyy    AAllll  rriigghhttss  rreesseerrvveedd
  43.